package org.thirdHero.sys.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.thirdHero.sys.domain.SysStorage;
import org.thirdHero.sys.domain.SysStorageExample;

public interface SysStorageMapper {
    long countByExample(SysStorageExample example);

    int deleteByExample(SysStorageExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SysStorage record);

    int insertSelective(SysStorage record);

    SysStorage selectOneByExample(SysStorageExample example);

    SysStorage selectOneByExampleSelective(@Param("example") SysStorageExample example, @Param("selective") SysStorage.Column ... selective);

    List<SysStorage> selectByExampleSelective(@Param("example") SysStorageExample example, @Param("selective") SysStorage.Column ... selective);

    List<SysStorage> selectByExample(SysStorageExample example);

    SysStorage selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") SysStorage.Column ... selective);

    SysStorage selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SysStorage record, @Param("example") SysStorageExample example);

    int updateByExample(@Param("record") SysStorage record, @Param("example") SysStorageExample example);

    int updateByPrimaryKeySelective(SysStorage record);

    int updateByPrimaryKey(SysStorage record);
}